<!DOCTYPE html>
<html>
<head>
<include file="Include:meta" />
<title>审核流程管理-目的地运营集团数据管理平台</title>
<include file="Include:style" />
</head>
<body>
<include file="Include:header" />
<include file="Include:left" />
<div id="main">
	<div class="crumbs">
		<div class="crumbs-text">审核流程管理</div>
	</div>
	<div id="content">
		<div class="filter">
			<div class="filter-item">
				<div class="filter-title">分类：</div>
				<ul class="filter-order">
					<li <if condition="$sh_type eq -10">class="current"</if>>
						<a href="__APP__/Index/audit_list/keyword/{$keyword}/state/{$state}/type/{$type}/sh_type/-10">全部</a>
					</li>
					<li <if condition="$sh_type eq 1">class="current"</if>>
						<a href="__APP__/Index/audit_list/keyword/{$keyword}/state/{$state}/type/{$type}/sh_type/1">协作申请</a>
					</li>
					<li <if condition="$sh_type eq 3">class="current"</if>>
						<a href="__APP__/Index/audit_list/keyword/{$keyword}/state/{$state}/type/{$type}/sh_type/3">增员申请</a>
					</li>
					<li <if condition="$sh_type eq 4">class="current"</if>>
						<a href="__APP__/Index/audit_list/keyword/{$keyword}/state/{$state}/type/{$type}/sh_type/4">日程管理</a>
					</li>
					<li <if condition="$sh_type eq 5">class="current"</if>>
						<a href="__APP__/Index/audit_list/keyword/{$keyword}/state/{$state}/type/{$type}/sh_type/5">任务管理</a>
					</li>
					<li <if condition="$sh_type eq 6">class="current"</if>>
						<a href="__APP__/Index/audit_list/keyword/{$keyword}/state/{$state}/type/{$type}/sh_type/6">资料库审核</a>
					</li>
					<li <if condition="$sh_type eq 7">class="current"</if>>
						<a href="__APP__/Index/audit_list/keyword/{$keyword}/state/{$state}/type/{$type}/sh_type/7">人员需求</a>
					</li>
				</ul>
			</div>
			<div class="filter-item">
				<div class="filter-title">我的流程：</div>
				<ul class="filter-order">
					<li <if condition="$type eq -10">class="current"</if>>
						<a href="__APP__/Index/audit_list/keyword/{$keyword}/state/{$state}/type/-10/sh_type/{$sh_type}">全部</a>
					</li>
					<li <if condition="$type eq 1">class="current"</if>>
						<a href="__APP__/Index/audit_list/keyword/{$keyword}/state/{$state}/type/1/sh_type/{$sh_type}">待我审的</a>
					</li>
					<li <if condition="$type eq 2">class="current"</if>>
						<a href="__APP__/Index/audit_list/keyword/{$keyword}/state/{$state}/type/2/sh_type/{$sh_type}">我已审的</a>
					</li>
				</ul>
			</div>
			<div class="filter-item">
				<div class="filter-title">状态：</div>
				<ul class="filter-order">
					<li <if condition="$state eq -10">class="current"</if>>
						<a href="__APP__/Index/audit_list/keyword/{$keyword}/state/-10/type/{$type}/sh_type/{$sh_type}">全部</a>
					</li>
					<li <if condition="$state eq 1">class="current"</if>>
						<a href="__APP__/Index/audit_list/keyword/{$keyword}/state/1/type/{$type}/sh_type/{$sh_type}">进行中</a>
					</li>
					<li <if condition="$state eq 2">class="current"</if>>
						<a href="__APP__/Index/audit_list/keyword/{$keyword}/state/2/type/{$type}/sh_type/{$sh_type}">已完结</a>
					</li>
				</ul>
			</div>
		</div>
		<div class="table-scrollx">
			<table class="table table-bordered table-hover">
				<tr class="table-header fixed-table-header">
					<td>申请单编号</td>
					<td>分类</td>
					<td>申请人(日期)</td>
					<td>状态</td>
					<td>当前环节人员</td>
				</tr>
				<if condition="$result eq NULL">
				<tr>
					<td colspan="5" class="text-center">暂无相关内容</td>
				</tr>
				</if>
				<foreach name="result" item="vo">
				<tr>
					<td>
						<if condition="$vo['type'] eq 1">
							<a href="__APP__/Index/assist_apply_detail/id/{$vo['id']}/state/{$state}">{$vo['order_number']}</a>
						<elseif condition="$vo['type'] eq 4"/>
							<a href="__APP__/Index/schedule_xx_detail/id/{$vo['audit_id']}/state/{$state}" target="_blank">{$vo['order_number']}</a>
						<elseif condition="$vo['type'] eq 5"/>
							<a href="__APP__/Index/task_detail/id/{$vo['audit_id']}/audit/sh" target="_blank">{$vo['order_number']}</a>
						<elseif condition="$vo['type'] eq 6"/>
							<a href="__APP__/Index/library_detail/id/{$vo['audit_id']}/classif/{$vo['classif']}/type/{$vo['dtype']}/audit/sh" target="_blank">{$vo['order_number']}</a>
						<elseif condition="$vo['type'] eq 7"/>
							<a href="__APP__/Hr/person_demand_detail/id/{$vo['audit_id']}/state/{$state}/audit/sh" target="_blank">{$vo['order_number']}</a>
						<elseif condition="$vo['type'] eq 3"/>
							<a href="__APP__/Project/project_user/id/{$vo['pid']}/mid/{$vo['id']}" target="_blank">{$vo['order_number']}</a>
						</if>
					</td>
					<td><if condition="$vo['type'] eq 1">协助申请<elseif condition="$vo['type'] eq 3"/>增员申请<elseif condition="$vo['type'] eq 4" />日程管理<elseif condition="$vo['type'] eq 5" />任务管理<elseif condition="$vo['type'] eq 6" />资料库审核<elseif condition="$vo['type'] eq 7" />人员需求</if></td>
					<td>{$vo['add_user']}({$vo['add_date']|substr=0,10})</td>
					<td>
						<if condition="$vo['status'] eq -1">未提交<if condition="$vo['dh_uid'] neq NULL"><span title="{$vo['dh_user']}({$vo['dh_date']|substr=0,10}):{$vo['dh_message']}" data-placement="right" data-toggle="tooltip" class="red">(已打回)<span></if>
						<else />{$vo['status_name']}
						</if>
					</td>
					<td><if condition="$vo['audit_user'] neq NULL">{$vo['audit_user']}<else />无</if></td>
				</tr>
				</foreach>
			</table>
		</div>
		<div class="pages">{$page}</div>
	</div>
</div>
<include file="Include:javascript" />
</body>
</html>